﻿using ManagementApi.Mvc;
using System.ComponentModel.DataAnnotations;
using static Modules.BankSpecialAccount.BankSpecialAccountConstants;

namespace ManagementApi.Models.Manage.ProjectSpecialAccount
{
    public class ProjectSpecialAccountAuditForm
    {
        /// <summary>
        /// author:hzj
        /// date:2023/11/8
        ///</summary>
        public int Id { get; set; }

        /// <summary>
        /// 账户名称
        ///</summary>
        [Display(Name = "账户名称")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string Username { get; set; }

        /// <summary>
        /// 银行专户号
        ///</summary>
        [Display(Name = "银行专户号")]
        [RegularExpression(RegxPatterns.Number, ErrorMessage = "银行专户号只能为数字")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string BankNo { get; set; }


        /// <summary>
        /// 开户银行编码
        /// </summary>
        [Display(Name = "开户银行编码")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string BankType { get; set; }

        /// <summary>
        /// 开户银行名称
        /// </summary>
        [Display(Name = "开户银行名称")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string BankName { get; set; }

        /// <summary>
        /// 建设单位审核人
        ///</summary>
        [Display(Name = "建设单位审核人")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string ConstructorChecker { get; set; }

        /// <summary>
        /// 建设单位审核人身份证号
        ///</summary>
        [Display(Name = "建设单位审核人身份证号")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string ConstructorCardNo { get; set; }

        /// <summary>
        /// 建设单位电话
        ///</summary>
        [Display(Name = "建设单位电话")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string ConstructorMobile { get; set; }

        /// <summary>
        /// 总承包审核人
        ///</summary>
        [Display(Name = "总承包审核人")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string LumpContractorCorpChecker { get; set; }

        /// <summary>
        /// 总承包电话
        ///</summary>
        [Display(Name = "总承包电话")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string LumpContractorCorpMobile { get; set; }

        /// <summary>
        /// 总承包身份证号
        ///</summary>
        [Display(Name = "总承包身份证号")]
        [Required(ErrorMessage = "{0}不能为空")]
        public string LumpContractorCorpCardNo { get; set; }
    }
}